home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Frameworks / Extension Shell 1.3 / Sample Extensions / Bell Test ƒ / CodeConstants.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-04  |  1.2 KB  |  37 lines  |  [TEXT/R*ch]

  1. /*    NAME:
  2.         CodeConstants.h
  3.  
  4.     WRITTEN BY:
  5.         Dair Grant
  6.                 
  7.     DESCRIPTION:
  8.         Header file for various Extension specific constants
  9.  
  10.     NOTES:
  11.         •    The defines in this file serve as indexes into the code details array
  12.             that's embedded in a ESParamBlock, for interpreting the value of
  13.             errorIndex, and for indexing into an address table.
  14.         
  15.         •    It's also a good idea to use this file to define the various resource
  16.             types/IDs that your Extension uses.
  17.         
  18.     ___________________________________________________________________________
  19. */
  20. #ifndef __CODECONSTANTS__
  21. #define __CODECONSTANTS__
  22. //=============================================================================
  23. //        Defines                                                                 
  24. //-----------------------------------------------------------------------------
  25. #define kMenuSelect                    1                            // Index into arrays
  26. #define kPlaySound                    2                            // Index into arrays
  27.  
  28. #define kBellTestAddressTable        'BeLl'                        // Address table selector
  29. #define kMenuSelectResType            'CODE'                        // Resource type of patch
  30. #define kPlaySoundResType            'CODE'                        // Resource type of code block
  31. #define kMenuSelectResID            128                            // Resource id of patch
  32. #define kPlaySoundResID                129                            // Resource id of code block
  33.  
  34.  
  35.  
  36. #endif
  37.